<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>13.警告框</title>

<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

    <link rel="stylesheet" href="../css/bootstrap.css" type="text/css"/>
    <script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.js"></script>

</head>

<body>
	
    <div class="container">
    
    	<div class="alert alert-success" role="alert">
        	这是一个警告框的样式alert-success
        </div>
        
        <div class="alert alert-info" role="alert">
        	这是一个警告框的样式alert-info
        </div>
        
        <div class="alert alert-warning" role="alert">
        	这是一个警告框的样式alert-warning
        </div>
        
        <div class="alert alert-danger" role="alert">
        	这是一个警告框的样式alert-danger
        </div>
        
        <div class="alert alert-danger alert-dismissible" role="alert">
        	<button type="button" class="close" data-dismiss="alert">
            	&times;
            </button>
        	这是一个可关闭的警告框的样式
        </div>
        
        <div class="alert alert-success" role="alert">
        	这是一个警告框的样式alert-success
            <a href="#" class="alert-link">点击此处查看详细</a>
        </div>
        
        <div class="alert alert-danger" role="alert">
        	这是一个警告框的样式alert-danger
            <a href="#" class="alert-link">点击此处查看详细</a>
        </div>
    	    	
    </div>
    
</body>
</html>